Ubuntu 14.04
Sponsored Link

Nagios : Install
2016/01/17
 
Install Nagios which is an enterprise open source monitoring system.
[1]
[2]
[3] Install Nagios.
Also Install basic plugins to monitor nagios server itself.
root@dlp:~#
apt-get -y install nagios3 nagios-plugins-basic
[4] Configure Nagios.
root@dlp:~#
vi /etc/nagios3/nagios.cfg
# line 145: change

check_external_commands=
1
root@dlp:~#
vi /etc/nagios3/apache2.conf
# line 37: change access permission

Allow From
localhost 10.0.0.0/24
# change admin password

root@dlp:~#
htpasswd /etc/nagios3/htpasswd.users nagiosadmin

New password:    
# set password

Re-type new password:
Updating password for user nagiosadmin
root@dlp:~#
/etc/init.d/nagios3 restart

* Restarting nagios3 monitoring daemon nagios3
...done.
root@dlp:~#
/etc/init.d/apache2 restart

* Restarting web server apache2
...done.
[5] Access to the "http://(Nagios server's hostname or IP address)/nagios3/" from a client which is in the network allowed by Nagios server and authenticate with the Nagios admin user "nagiosadmin" to login.
[6] After successing authentication, the Nagios admin site is displayed.
[7] It's possible to view system status to click "Tactical Overview" and so on.
 
Tweet